Wayland: Set gtk-dialogs-use-header
authorMatthias Clasen <mclasen@redhat.com>
Fri, 7 Feb 2014 03:51:05 +0000 (22:51 -0500)
committerMatthias Clasen <mclasen@redhat.com>
Fri, 7 Feb 2014 03:51:05 +0000 (22:51 -0500)
Since we don't have a setting for this, hardcode the value
for now.

gdk/wayland/gdkscreen-wayland.c

index 661ecd9ec0b97028eabbd2551196160d0c34e379..70842962ae0e09e4b16f8999a7d93f077ff241b5 100644 (file)
@@ -718,6 +718,12 @@ gdk_wayland_screen_get_setting (GdkScreen   *screen,
   if (strcmp (name, "gtk-shell-shows-desktop") == 0)
     return set_capability_setting (screen, value, GTK_SHELL_CAPABILITY_DESKTOP_ICONS);
 
+  if (strcmp (name, "gtk-dialogs-use-header") == 0)
+    {
+      g_value_set_boolean (value, TRUE);
+      return TRUE;
+    }
+
   return FALSE;
 }